DirectAdmin Incoming Exim Configuration

Hosted Cloud

To configure Exim to only allow email from the filter servers for certain domains, you can do the following:

  1. Create the file /etc/virtual/spamexperts_incoming_domains
  2. Add the domains that use Spam Experts to this file (one per line)
  3. Add the following line in the domainlist part of the config
    domainlist spamexperts_domains =    lsearch;/etc/virtual/spamexperts_incoming_domains
  4. Set the following in the RCPT ACL
    defer
    domains = +spamexperts_domains
    !hosts = delivery.antispamcloud.com : localhost
    message = Please deliver mail to the address specified in the MX records for this domain.
  5. Save
  6. Restart Exim

Local Cloud

For local cloud users, replace delivery.antispamcloud.com with your servers hostnames separated by ':'.

See here for information on the DirectAdmin Addon

Disclaimer: This documentation may contain references to third party software or websites. N-able has no control over third party software or content and is not responsible for the availability, security, or operation, of any third-party software. If you decide to utilize a release involving third-party software, you do so entirely at your own risk and subject to the applicable third party’s terms and conditions of the use of such software. No information obtained by you from N-able or this documentation shall create any warranty for such software.